package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

/**
 * 意见反馈对象 t_fankui
 *
 * @author ruoyi
 * @date 2024-06-01
 */
public class TFankui extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 前台用户id */
    @Excel(name = "前台用户id")
    private Long userId;

    /** 前台用户名 */
    @Excel(name = "前台用户名")
    @NotEmpty(message = "userName前台用户名不能为空")
    private String userName;

    /** 帮助中心富文本详细信息 */
    @Excel(name ="帮助内容文本")
    @NotEmpty(message = "contentInfo意见反馈文本域内容不能为空")
    private String contentInfo;

    /** 联系方式 */
    @Excel(name = "联系方式")
    @NotEmpty(message = "contactInfo意见反馈联系方式不能为空")
    private String contactInfo;

    /** 多个用逗号分割 */
    @Excel(name = "多个用逗号分割")
    private String imageurls;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String extendField1;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String extendField2;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setContentInfo(String contentInfo)
    {
        this.contentInfo = contentInfo;
    }


    public String getContentInfo()
    {
        return contentInfo;
    }
    public void setContactInfo(String contactInfo)
    {
        this.contactInfo = contactInfo;
    }

    public String getContactInfo()
    {
        return contactInfo;
    }
    public void setImageurls(String imageurls)
    {
        this.imageurls = imageurls;
    }

    public String getImageurls()
    {
        return imageurls;
    }
    public void setExtendField1(String extendField1)
    {
        this.extendField1 = extendField1;
    }

    public String getExtendField1()
    {
        return extendField1;
    }
    public void setExtendField2(String extendField2)
    {
        this.extendField2 = extendField2;
    }

    public String getExtendField2()
    {
        return extendField2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("contentInfo", getContentInfo())
            .append("contactInfo", getContactInfo())
            .append("imageurls", getImageurls())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("extendField1", getExtendField1())
            .append("extendField2", getExtendField2())
            .toString();
    }
}
